package com.xrtn.service.impl;

import com.xrtn.bean.TTest;
import com.xrtn.mapper.TTestMapper;
import com.xrtn.service.TestService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by tu_pei on 2018/3/6.
 */
@Service
public class TestServiceImpl  implements TestService{

    @Autowired
    private TTestMapper testMapper;


    @Override
    public TTest selectTestInfo(Integer userId) {
        return testMapper.selectByPrimaryKey(userId);
    }
}
